package com.example.aimnear;

public class DbConstant {
	
	public static final int DB_VERSION = 1;
	public static final String DB_NAME = "AMN_DATA_BASE";
	
	//TASK table
	public static final String TASK_TABLE_NAME = "AMN_CONSTANT";
		public static final String TASK_TABLE_ID_COLUMN_NAME = "ID";
		public static final String TASK_TABLE_NAME_COLUMN_NAME = "NAME";
		public static final String TASK_TABLE_DESCRIPTION_COLUMN_NAME = "DESCRIPTION";
		public static final String TASK_TABLE_STATUS_COLUMN_NAME = "STATUS";

	enum TaskStatuses {
		OPEN(1),
		DELETED(2),
		CLOSED(3);
		
		private int id;
		
		private TaskStatuses (int id) {
			this.id = id;
		}
		
		public int getId () {
			return this.id;
		}
	}
}

